import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author virginie, william, jef
 */
@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
public class Marker {
  
  protected long id;
  protected String name;
  protected String adress;
  protected double lat;
  protected double lng;
  protected int etoile;

    public Marker(String name, String adress, double lat, double lng, int etoile) {
        this.name = name;
        this.adress = adress;
        this.lat = lat;
        this.lng = lng;
        this.etoile = etoile;
    }

    public String getAdress() {
        return adress;
    }

    public int getEtoile() {
        return etoile;
    }

    public long getId() {
        return id;
    }

    public double getLat() {
        return lat;
    }

    public double getLng() {
        return lng;
    }

    public String getName() {
        return name;
    }

    public void setAdress(String adress) {
        this.adress = adress;
    }

    public void setEtoile(int etoile) {
        this.etoile = etoile;
    }

    public void setId(long id) {
        this.id = id;
    }

    public void setLat(double lat) {
        this.lat = lat;
    }

    public void setLng(double lng) {
        this.lng = lng;
    }

    public void setName(String name) {
        this.name = name;
    }
  
  
}